<!--
 * @Descripttion: 背景（固定）
 * @version: 1.0
 * @Author: 自由如风
 * @Date: 2021-04-25 17:04:27
 * @LastEditors: 自由如风
 * @LastEditTime: 2021-04-25 18:37:07
-->
<template>
  <div class="casebg" :style="`background: url(${data.src}) 50% 0 no-repeat;background-attachment: fixed;`">
    <div class="container animated bounceInUp">
      <h2>{{ data.h2 }}</h2>
      <p>{{ data.p }}</p>
    </div>
  </div>
</template>

<script>
import { Vue, Options } from "vue-class-component";
@Options({
  props: {
    data: Object,
  },
})
export default class extends Vue {}
</script>

<style>
</style>